export const NUMBER_MATRIX = [
    [
        // 0
        [0, 1],
        [1, 1],
        [2, 1],
        [3, 1],
        [0, 2],
        [3, 2],
        [0, 3],
        [3, 3],
        [0, 4],
        [3, 4],
        [0, 5],
        [1, 5],
        [2, 5],
        [3, 5]
    ],
    [
        // 1
        [1, 0],
        [0, 1],
        [1, 1],
        [1, 2],
        [1, 3],
        [0, 4],
        [1, 4],
        [2, 4]
    ],
    [
        // 2
        [0, 1],
        [1, 1],
        [2, 1],
        [3, 1],
        [3, 2],
        [0, 3],
        [1, 3],
        [2, 3],
        [3, 3],
        [0, 4],
        [0, 5],
        [1, 5],
        [2, 5],
        [3, 5]
    ],
    [
        // 3
        [0, 0],
        [1, 0],
        [2, 0],
        [2, 1],
        [0, 2],
        [1, 2],
        [2, 2],
        [2, 3],
        [0, 4],
        [1, 4],
        [2, 4]
    ],
    [
        // 4
        [0, 1],
        [3, 1],
        [0, 2],
        [3, 2],
        [0, 3],
        [1, 3],
        [2, 3],
        [3, 3],
        [3, 4],
        [3, 5]
    ],
    [
        // 5
        [0, 0],
        [1, 0],
        [2, 0],
        [0, 1],
        [0, 2],
        [1, 2],
        [2, 2],
        [2, 3],
        [0, 4],
        [1, 4],
        [2, 4]
    ],
    [
        // 6
        [0, 0],
        [1, 0],
        [2, 0],
        [0, 1],
        [0, 2],
        [1, 2],
        [2, 2],
        [0, 3],
        [2, 3],
        [0, 4],
        [1, 4],
        [2, 4]
    ],
    [
        // 7
        [0, 0],
        [1, 0],
        [2, 0],
        [2, 1],
        [2, 2],
        [2, 3],
        [2, 4]
    ],
    [
        // 8
        [0, 0],
        [1, 0],
        [2, 0],
        [0, 1],
        [2, 1],
        [0, 2],
        [1, 2],
        [2, 2],
        [0, 3],
        [2, 3],
        [0, 4],
        [1, 4],
        [2, 4]
    ],
    [
        // 9
        [0, 0],
        [1, 0],
        [2, 0],
        [0, 1],
        [2, 1],
        [0, 2],
        [1, 2],
        [2, 2],
        [2, 3],
        [0, 4],
        [1, 4],
        [2, 4]
    ]
];

export const configWidth = window.innerWidth * .75

export const configHeight = window.innerWidth * .75 * .75

//颜色
const rgba = "0,0,0"
//透明度
const opacity = () => 0.3 || Math.random() * 0.7 + 0.25
//气氛组卡片
export const atmosphereGroupCard = () => `rgba(${rgba},${opacity()})`